import request from '../utils/request';

const getWeather = (params:{city:string}) => request({
  method: 'get',
  url: 'weather/',
  params,
});

export default getWeather;
